/**
 * @param { string } value
 * 验证手机号中国(严谨), 根据工信部2019年最新公布的手机号段

 */
export const isPhone = value => /^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-7|9])|(?:5[0-3|5-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[1|8|9]))\d{8}$/g.test(value)

/**
 判断是否小于10的情况
 */
export const isNum9 = (num9, type = 's后重新发送') => num9 < 10 ? `0${num9}${type}` : `${num9}${type}`